<template>
  <div class="gt-info-list-item">
    <div class="label" :style="{width: $parent.labelWidth + 'px'}">
      {{label}}
    </div>
    <div class="value">
      <slot/>
    </div>
  </div>
</template>
<script>
export default {
  name: 'InfoListItem',
  props: {
    label: String,
  },
}
</script>
<style lang="less">
.gt-info-list-item {
  // display: flex;
  //
  .value{
    width: 100%;
  } 
}
</style>